// import mongoose from 'mongoose';
import { startApp } from '@/service';
import './src/routers/login';
// mongoose.connect('mongodb://localhost:27017/rbac-admin')
//   .then(() => {
//     console.log('Connected to MongoDB');
// 
//   })
//   .catch((error) => {
//     console.error('MongoDB connection error:', error);
//   }); 

startApp().listen(3000, () => {
  console.log(`Server is running on port 3000`);
});
